Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> h1::after { content: url(smiley.gif); } </style> </head> <body> <h1>This is a heading</h1> <p>The ::after pseudo-element inserts content after an element.</p> <h1>This is a heading</h1> <p><b>Note:</b> IE8 supports the content property only if a !DOCTYPE is specified.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_after by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:40 GMT --> </html>
Result:
Try it Yourself - © w3schools.com